package com.twentytwok.hospitalsystem22K.service;

import com.github.pagehelper.PageInfo;
import com.twentytwok.hospitalsystem22K.common.PageVo;
import com.twentytwok.hospitalsystem22K.common.R;
import com.twentytwok.hospitalsystem22K.common.R2;
import com.twentytwok.hospitalsystem22K.pojo.Comment;
import com.twentytwok.hospitalsystem22K.pojo.DoctorUser;
import com.twentytwok.hospitalsystem22K.pojo.Drug;

import java.util.Map;

public interface CommentService {
//    PageInfo<Comment> findAllComment(Map<String, Object> map);
//
//    int insertComment(Map<String, Object> map);
//
//    int updateComment(Map<String, Object> map);
//
//    int deleteComment(Integer id);

    PageVo<Comment> getPageData(Map<String, Object> params);

    R2 update(Comment comment);

    R2 delete(Integer id);

    R2 add(Comment comment);

}
